package com.jinghao.ctws.entity;

import com.jinghao.core.common.entity.JingHaoBaseEntity;
import com.jinghao.core.common.util.IJingHaoConfiguration.JhTable;
import com.jinghao.core.common.util.IJingHaoConfiguration.JhField;
import com.jinghao.core.common.util.IJingHaoConfiguration.JhCf;

import java.util.Date;
/**
 * (CwvProcess)模型对象
 * 
 * @version 1.0
 * @author: 244684437@qq.com
 */
@JhTable(
	jhfields={
		@JhField(jhCf=JhCf.UNID,property="processUnid"),
		@JhField(jhCf=JhCf.UUID,property="processUuid"),
		@JhField(jhCf=JhCf.STATUS,property="urlStatus")
	},
	note = ""
)
public class CwvProcess extends JingHaoBaseEntity<CwvProcess> {
	//======================字段列表========================
	/** 环节标识UNID */
	private Integer	processUnid;

	/** 环节标识UUID */
	private String	processUuid;

	/** 托盘标识 */
	private String	fpalletId;

	/** 环节编码 */
	private String	fprocessId;

	/** 开始时间 */
	private Date	startTime;

	/** 结束时间 */
	private Date	endTime;

	/** 位置码 */
	private String	locationId;

	/** URL连接 */
	private String	urlLink;

	/** 是否生成链接（0:未生成;1:已生成） */
	private Integer	urlStatus;

	/** 环节UUID */
	private String	fprocessconfigUuid;

	/** 托盘标识UUID */
	private String	fpalletUuid;

	/** 上传时间 */
	private Date	uploadTime;

	/** 新的文件名称 */
	private String	newFileName;

	public Integer getProcessUnid() {
		return this.processUnid;
	}

	public void setProcessUnid(Integer processUnid) {
		this.processUnid = processUnid;
	}

	public String getProcessUuid() {
		return this.processUuid;
	}

	public void setProcessUuid(String processUuid) {
		this.processUuid = processUuid;
	}

	public String getFpalletId() {
		return this.fpalletId;
	}

	public void setFpalletId(String fpalletId) {
		this.fpalletId = fpalletId;
	}

	public String getFprocessId() {
		return this.fprocessId;
	}

	public void setFprocessId(String fprocessId) {
		this.fprocessId = fprocessId;
	}

	public Date getStartTime() {
		return this.startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return this.endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public String getLocationId() {
		return this.locationId;
	}

	public void setLocationId(String locationId) {
		this.locationId = locationId;
	}

	public String getUrlLink() {
		return this.urlLink;
	}

	public void setUrlLink(String urlLink) {
		this.urlLink = urlLink;
	}

	public Integer getUrlStatus() {
		return this.urlStatus;
	}

	public void setUrlStatus(Integer urlStatus) {
		this.urlStatus = urlStatus;
	}

	public String getFprocessconfigUuid() {
		return this.fprocessconfigUuid;
	}

	public void setFprocessconfigUuid(String fprocessconfigUuid) {
		this.fprocessconfigUuid = fprocessconfigUuid;
	}

	public String getFpalletUuid() {
		return this.fpalletUuid;
	}

	public void setFpalletUuid(String fpalletUuid) {
		this.fpalletUuid = fpalletUuid;
	}

	public Date getUploadTime() {
		return this.uploadTime;
	}

	public void setUploadTime(Date uploadTime) {
		this.uploadTime = uploadTime;
	}

	public String getNewFileName() {
		return this.newFileName;
	}

	public void setNewFileName(String newFileName) {
		this.newFileName = newFileName;
	}

	public String toString() {
		StringBuffer buffer = new StringBuffer(super.toString());
		buffer.append("\n");
		buffer.append("\tprocessUnid(环节标识UNID):").append(processUnid);
		buffer.append("\tprocessUuid(环节标识UUID):").append(processUuid);
		buffer.append("\tfpalletId(托盘标识):").append(fpalletId);
		buffer.append("\tfprocessId(环节编码):").append(fprocessId);
		buffer.append("\n");
		buffer.append("\tstartTime(开始时间):").append(startTime);
		buffer.append("\tendTime(结束时间):").append(endTime);
		buffer.append("\tlocationId(位置码):").append(locationId);
		buffer.append("\turlLink(URL连接):").append(urlLink);
		buffer.append("\n");
		buffer.append("\turlStatus(是否生成链接（0:未生成;1:已生成）):").append(urlStatus);
		buffer.append("\tfprocessconfigUuid(环节UUID):").append(fprocessconfigUuid);
		buffer.append("\tfpalletUuid(托盘标识UUID):").append(fpalletUuid);
		buffer.append("\tuploadTime(上传时间):").append(uploadTime);
		buffer.append("\n");
		buffer.append("\tnewFileName(新的文件名称):").append(newFileName);
		return buffer.toString();
	}
	//==================定制内容开始======================
	  public enum ECWvProcess {
	    	/**0:未生成**/
		   	urlStatus_0(0,"未生成"),
	    	/**1:已生成**/
		   	urlStatus_1(1,"已生成");
	    	 
	    	private int key;
	    	private String msg;
	    	ECWvProcess(int key,String msg) {
				this.key = key;
				this.msg=msg;
			}
	    	public int getKey(){
	    		return this.key;
	    	}
	    }
	//==================定制内容结束======================
}
